//
//  FGConversationCellConfig.m
//  FGChatKit
//
//  Created by Henry on 2021/8/27.
//

#import "FGConversationCellConfig.h"
#import "UIColor+FGChat.h"
#import "UIColor+FGTool.h"

@implementation FGConversationCellConfig

- (instancetype)init
{
    self = [super init];
    if (self) {
        _separatorInset = UIEdgeInsetsMake(0, 12, 0, 0);
        
        _avatarColor = [UIColor lightGrayColor];
        _avatarCorner = 5;

        _nameColor = [UIColor fg_blockColor];
        _msgColor =  [UIColor fg_colorWithLightColor:[UIColor grayColor] darkColor:[UIColor fg_colorWithString:@"#DDDDDD"]];
        _timeColor = [UIColor fg_colorWithLightColor:[UIColor lightGrayColor] darkColor:[UIColor fg_colorWithString:@"#DDDDDD"]];

        _nameFont = [UIFont systemFontOfSize:17];
        _msgFont = [UIFont systemFontOfSize:15];
        _timeFont = [UIFont systemFontOfSize:13];
        
        _badgeFont = [UIFont systemFontOfSize:12];
        _badgeColor = [UIColor redColor];
        _badgeTextColor = [UIColor whiteColor];
        
        _cellColor = [UIColor fg_colorWithLightColor:[UIColor whiteColor] darkColor:[UIColor fg_colorWithString:@"#101010"]];
        _cellTopColor = [UIColor fg_colorWithLightColor:[UIColor fg_colorWithString:@"#DDDDDD"] darkColor:[UIColor fg_colorWithString:@"#222222"]];

        _margin = 12;
        
        _showWeekday = NO;
        
        _noNetTextColor = [UIColor fg_colorWithLightColor:[UIColor grayColor] darkColor:[UIColor grayColor]];
        _noNetTextFont = [UIFont systemFontOfSize:17];
        _noNetColor = [UIColor fg_colorWithLightColor:[UIColor fg_colorWithString:@"#FFDFE0"] darkColor:[UIColor fg_colorWithString:@"#FFDFE0"]];
    }
    return self;
}

@end
